package com.hzit.bj1804.dianweb.service;

import com.github.pagehelper.PageInfo;
import com.hzit.bj1804.dian.entity.Productcategory;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @program: dian
 * @description:
 * @author: zhz
 * @create: 2018-12-01 14:57
 **/
@Component
public class ProductategoryServiceImpl implements ProductategoryService {


    @Override
    public List<Productcategory> getAllProductcategoryType() {
        System.out.println("查询出现错误！");
        return null;
    }

    @Override
    public PageInfo<Productcategory> getAllTypeByPage(int limit, int page) {
        System.out.println("查询出现错误！");
        return null;
    }

    @Override
    public List<Productcategory> getCategoryById(int categoryid) {
        System.out.println("没有找到此ID的类别");
        return null;
    }

    @Override
    public List<Productcategory> getByIdAndName(String categoryname) {
        System.out.println("没有找到此ID的类别或者没有找到该字的类别");
        return null;
    }

    @Override
    public int upType(Productcategory productcategory) {
        System.out.println("修改出现错误！");
        return 0;
    }

    @Override
    public int addType(Productcategory productcategory) {
        System.out.println("添加出现错误！");
        return 0;
    }

    @Override
    public int delUpStatus(int categoryid) {
        System.out.println("修改状态出现错误！");
        return 0;
    }
}
